<?php

	if(isset($this->next))

	{

		echo '<a class="right" href='.$this->url(array('page'=> $this->next)).'> Next &gt; </a>';

	}

		

	//foreach( $this->pagesInRange as $page )	{

//		if($this->current != $page)

//			echo '[ <a href='.$this->url(array('page'=>$page)).'>'.$page.'</a> ]';

//		else

//			echo '[ '.$page.' ]';

//	}

	

	$displayItemsFirst = $this->current*$this->itemCountPerPage - $this->itemCountPerPage;

	$displayItemsLast = $displayItemsFirst + $this->currentItemCount;

	$totalPlayers = $this->totalItemCount; 

	$displayItemsFirst += 1; 	

	$html = '';

	$html .='<div class="page-list">';

	$html .='<span>Showing '.$displayItemsFirst.' to '. $displayItemsLast. ' of '. $totalPlayers. ' total players</span>';

	$html .='</div>';

	echo $html;

	

	if(isset($this->previous))

	{

		echo '<a class="right margin-right-10" href='.$this->url(array('page'=> $this->previous)).'> &lt; Prev </a>';

	}

	

?>